package com.swa.freemusic;

import android.app.Application;
import android.app.DownloadManager;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.res.Configuration;
import android.widget.Toast;

import com.swa.freemusic.util.shared4.ForSharedService;

public class Freemusic extends Application {

	public static ForSharedService fss;
	public static DownloadManager downloadManager;
	public static DownloadManager.Request request;
	public static long latestId = -1;

	@Override
	public void onConfigurationChanged(Configuration newConfig) {
		super.onConfigurationChanged(newConfig);
	}

	@Override
	public void onCreate() {
		super.onCreate();
		fss = new ForSharedService(getResources().getString(R.string._id),
				getResources().getString(R.string._pw));
		downloadManager = (DownloadManager) getSystemService(Context.DOWNLOAD_SERVICE);

	}

	@Override
	public void onLowMemory() {
		super.onLowMemory();
	}

	@Override
	public void onTerminate() {
		super.onTerminate();
	}

}
